'''
Created on Mar 1, 2011

@author: Mario
'''
from igraph_module.Network import *;
import numpy
from ProteinWork import *;

file = r'E:\workspace\Python\BioInfProject\gml_networks\Hpylo20101010.gml';
n = Network(file);
k = 0.2
n_k = n.getKcoresGraph(k);
create_fasta(n_k, r'E:\workspace\Python\BioInfProject\src\mario_tmp\Hpylo20101010.faa')

file = r'E:\workspace\Python\BioInfProject\gml_networks\Celeg20101010.gml';
n = Network(file);
k = 0.2
n_k = n.getKcoresGraph(k);
create_fasta(n_k, r'E:\workspace\Python\BioInfProject\src\mario_tmp\Celeg20101010.faa')

evaluate_fastas(r'E:\workspace\Python\BioInfProject\src\mario_tmp\Hpylo20101010.faa', r'E:\workspace\Python\BioInfProject\src\mario_tmp\Celeg20101010.faa')
result = read_results(r'E:\workspace\Python\BioInfProject\src\mario_tmp\result.txt')
